package androidx.appcompat.widget;

import android.content.Context;
import android.graphics.Rect;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import androidx.annotation.RestrictTo;
import androidx.annotation.RestrictTo.d;
import o.co;
import o.co.b;

@RestrictTo({d.LIBRARY_GROUP})
public class FitWindowsLinearLayout extends LinearLayout implements co {
    private b ॱ;

    public FitWindowsLinearLayout(Context context) {
        super(context);
    }

    public FitWindowsLinearLayout(Context context, AttributeSet attributeSet) {
        super(context, attributeSet);
    }

    public void setOnFitSystemWindowsListener(b bVar) {
        this.ॱ = bVar;
    }

    protected boolean fitSystemWindows(Rect rect) {
        if (this.ॱ != null) {
            this.ॱ.ˊ(rect);
        }
        return super.fitSystemWindows(rect);
    }
}
